using overlay for string manipulation